package lesson02;

import java.io.Closeable;
import java.io.Serializable;

public class TestMain8 {
    public static void main(String[] args) {
//        D.name = "aaa"; // 常量修改不了值
    }

}
interface D {
    public static final String name = "hello world";
    void a(); // 默认 public abstract
    public void b(); // private 修饰报错，强制默认
}
class E implements D {

    @Override
    public void a() {}

    @Override
    public void b() {}
}
interface F extends D, Serializable, Closeable, Comparable {

}